package Process;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;
import java.util.Scanner;

public class LockServiceProcess {
    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext serviceContext = new ClassPathXmlApplicationContext("LockService.xml");
        serviceContext.start();
        System.out.println("LockServiceProcess start success!");
        System.out.println("Dubbo provider start success!");
        Scanner scan = new Scanner(System.in);
        String uselessStr = scan.nextLine();
        serviceContext.close();
    }
}
